<?php

/*
 * Edit by shengxin
 * Click nbfs://nbhost/SystemFileSystem/Templates/Scripting/PHPClass.php to edit this template
 */

namespace api\mall\model;

use think\Model;
/**
 * Description of StoreModel
 *
 * @author PC
 */
class StoreModel extends Model{
    
    protected $name = 'store_item';
    
    protected $autoWriteTimestamp = true;
    
    public function types(){
        return $this->field("item_type")->group('item_type')->select();
    }
}
